package com.huawei.aiservice.enums;

import lombok.Data;

public enum ReportStatus {
    PROCESSING(0, "检查中"),

    SUCCESS(1, "检查成功"),

    FAIL(2, "检查失败"),

    TIMEOUT(3, "超时");

    private final int code;
    private final String message;

    ReportStatus(int code, String message) {
        this.code = code;
        this.message = message;
   }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
